// User Model
import { Model } from "@vuex-orm/core";
export default class RoleUser extends Model {
  // This is the name used as module name of the Vuex Store.
  static entity = "roleUser";

  static primaryKey = ["roles_id", "user_id"];
  // List of all fields (schema) of the post model. `this.attr` is used
  // for the generic field type. The argument is the default value.
  static fields() {
    return {
      roles_id: this.attr(null),
      user_id: this.attr(null)
    };
  }
}
